package com.easy.bean;

import java.time.LocalDateTime;
import java.util.List;

public class Category {
    private int cateid;
    private int parentid;
    private String name;
    private String imgurl;
    private int isdel;
    private LocalDateTime inserttime;
    private LocalDateTime updatetime;

    private Category parent;

    @Override
    public String toString() {
        return "Category{" +
                "cateid=" + cateid +
                ", parentid=" + parentid +
                ", name='" + name + '\'' +
                ", imgurl='" + imgurl + '\'' +
                '}';
    }

    public Category getParent() {
        return parent;
    }

    public void setParent(Category parent) {
        this.parent = parent;
    }

    public int getIsdel() {
        return isdel;
    }

    public void setIsdel(int isdel) {
        this.isdel = isdel;
    }

    public LocalDateTime getInserttime() {
        return inserttime;
    }

    public void setInserttime(LocalDateTime inserttime) {
        this.inserttime = inserttime;
    }

    public LocalDateTime getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(LocalDateTime updatetime) {
        this.updatetime = updatetime;
    }

    public int getCateid() {
        return cateid;
    }

    public void setCateid(int cateid) {
        this.cateid = cateid;
    }

    public int getParentid() {
        return parentid;
    }

    public void setParentid(int parentid) {
        this.parentid = parentid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImgurl() {
        return imgurl;
    }

    public void setImgurl(String imgurl) {
        this.imgurl = imgurl;
    }
}
